### Compiler ###

CC = /opt/intel/cc/9.0/bin/icc

CPP = /opt/intel/cc/9.0/bin/icpc

### MPI ###

MPI_LIB  = /usr/include
MPI_FLAG = -lmpi

### FFTW ###

FFTW_DIR = /usr/local/fftw-2.1.5_Intel
FFTW_LIB = $(FFTW_DIR)/lib
FFTW_INC = $(FFTW_DIR)/include

#FFTW_FLAG = -lsfftw_mpi -lsfftw
FFTW_FLAG = -ldfftw_mpi -ldfftw

###

#INC = -I. -I$(MPI_LIB) -I$(FFTW_INC) -I$(FFTW_LIB) -L$(FFTW_LIB)
INC = -I.

#FLAGS = $(MPI_FLAG) $(FFTW_FLAG) -lm
FLAGS = -lm

all: test_local_radial_interpolation

mlint_scattering:
	$(CPP) -o test_local_radial_interpolation.cpp

edit:
	jpico test_local_radial_interpolation.cpp

clean:
	rm test_local_radial_interpolation

run:
	./test_local_radial_interpolation
fai:
	[ -f test_local_radial_interpolation ] && rm test_local_radial_interpolation || echo "mlint file not found!"
	make
	./test_local_radial_interpolation


